More meaningful debugging output in gdk_win32_window_get_root_coords
authorTor Lillqvist <tml@iki.fi>
Sun, 18 Oct 2009 09:06:29 +0000 (12:06 +0300)
committerTor Lillqvist <tml@iki.fi>
Sun, 18 Oct 2009 09:06:29 +0000 (12:06 +0300)
gdk/win32/gdkwindow-win32.c

index 45cf9654d7d3a3c9ec0faef8ed4a5a1b49e0a402..9b21db39ab5ee9867ee5b6c7c6c6a02c77be824f 100644 (file)
@@ -2071,7 +2071,7 @@ gdk_win32_window_get_root_coords (GdkWindow *window,
   GDK_NOTE (MISC, g_print ("gdk_win32_window_get_root_coords: %p: %+d%+d %+d%+d\n",
                           GDK_WINDOW_HWND (window),
                           x, y,
-                          tx, ty));
+                          tx + _gdk_offset_x, ty + _gdk_offset_y));
   return 1;
 }